package java8_31;

public class CommonHandset extends Handset implements PlayWiring {
    public CommonHandset(String brand, String type) {
        super(brand, type);
    }

    @Override
    public void play(String content) {
        System.out.println(getBrand()+"正在播放"+content);
    }

    @Override
    public String toString() {
        return getBrand()+""+getType();
    }
}
